#pragma once

#include <d3d9.h>
#include <d3dx9.h>
#pragma comment (lib,"d3d9.lib")
#pragma comment (lib,"d3dx9.lib")

struct D3DFMat2D
{
	D3DXVECTOR2 m_cen;
	D3DXVECTOR2 m_trn;
	D3DXVECTOR2 m_scl;
	float       m_rot;

	D3DFMat2D()
	{
		m_cen.x = m_cen.y = 0.0f;
		m_trn.x = m_trn.y = 0.0f;
		m_scl.x = m_scl.y = 0.0f;
		m_rot = 0.0f;
	}
};

struct D3DFTexture2D
{
	int	               m_id;
	char               m_path[128];
	D3DXIMAGE_INFO     m_info;
	LPDIRECT3DTEXTURE9 m_texture;
	List<D3DFMat2D>    m_world;
};